{extend name="layout/iframe" /}

{block name="content"}
<div class="x-body">
    <form class="layui-form">
        <div class="layui-form-item">
            <label for="userName" class="layui-form-label">
                <span class="x-red">*</span>用户名
            </label>
            <div class="layui-input-inline">
                <input type="text" id="userName" name="userName" value="{$info.userName|urldecode}" lay-verify="userName" autocomplete="off" class="layui-input" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>头像
            </label>
            <div class="layui-input-inline">
                <img src="{if $info.imgUrl}{$info.imgUrl}{else/}__STATIC__/admin/images/default.png{/if}" style="width: 50px;height: 50px;"  />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>性别
            </label>
            <div class="layui-input-inline">
                <input type="text" name="sex" value="{if condition="($info.sex == 1)"}男{else/}女{/if}" lay-verify="sex" autocomplete="off" class="layui-input" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>生日
            </label>
            <div class="layui-input-inline">
                <input type="text" name="birthday" value="{$info.birthday}" lay-verify="birthday" autocomplete="off" class="layui-input" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>手机号
            </label>
            <div class="layui-input-inline">
                <input type="text" name="phone" value="{$info.phone}" lay-verify="phone" autocomplete="off" class="layui-input" disabled>
            </div>
        </div>
       <!-- <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>账户余额
            </label>
            <div class="layui-input-inline">
                <input type="text" name="balance" value="{$info.balance}" lay-verify="balance" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                元
            </div>
        </div>-->

        <!--<div class="layui-form-item">
            <label class="layui-form-label"></label>
            <button class="layui-btn" lay-filter="add" lay-submit="">
                保存
            </button>
        </div>-->
    </form>
</div>

{/block}